﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using OurLeague.Object;

namespace OurLeague
{
    public partial class SubstitutionEventForm : Form
    {
        public bool Response;

        public SubstitutionEventForm(List<Event> se)
        {
            InitializeComponent();
            cmbSubstitutions.DataSource = se;
        }

        private void bntOk_Click(object sender, EventArgs e)
        {
            Response = true;

            Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Response = false;

            Close();
        }
    }
}
